            <div id="footer">
                <div id="footer_menu">
                    <ul>
                        <li id="footer_menu_1" class="current"><a href="index.php" title="Home">Home</a></li>
                        <li id="footer_menu_2"><a href="company-profile.php" title="Company Profile">About Us</a></li>
                        <li id="footer_menu_3"><a href="product.php" title="Product">Product</a></li>
                        <li id="footer_menu_7"><a href="gallery.php" title="Gallery">Gallery</a></li>
                        <li id="footer_menu_4"><a href="news-event.php" title="News &amp; Event">News &amp; Event</a></li>
                        <li id="footer_menu_6"><a href="contact-us.php" title="Contact Us">Contact Us</a></li>
                        <li id="footer_menu_8"><a href="cart.php" title="Shopping Cart">Order</a></li>
                        <li id="footer_menu_5"><a href="register.php" title="Register">Register</a></li>
                        <div class="clear">&nbsp;</div>
                    </ul>
                </div>
                <div id="footer_submenu">
                    <div id="footer_submenu_product">
                        <ul>
                            <?php echo $cat_list; ?>
                        </ul>
                    </div>
                    <div id="footer_submenu_gallery">
                        <ul>
                            <li id="footer_menu_1" class="current"><a href="gallery.php?id=2" title="New collection">New collection</a></li>
                            <li id="footer_menu_2"><a href="gallery.php?id=1" title="Company Profile">General collection</a></li>
                        </ul>
                    </div>
                    <div class="clear">&nbsp;</div>
                    
                    <div id="footer_copyright">
                        Copyright &copy; 1998-2010, Hongchiao Inc. All Rights Reserved. Privacy Statement Terms & Conditions
                    </div>
                </div>
                <div id="footer_bg">
                    <img src="images/footer_bootom_bg.jpg" />
                </div>
            </div>
        </div>
    </body>
</html>
<script>
    $(document).ready(function() {
        $('#left_sidebar_search_select').live('change',function(){
            window.location = 'product.php?id='+$(this).val();
        });
        
        $('#login_bt').live('click',function(){
            $('#login_bt_box').css('display','none');
            $('#login_indicator').css('display','block');
            str = $('#login_frm').serialize();
            $.post('function/login.php',str,function(data){
                if(data.status=='success'){
                    location.reload();
                }else{
                    alert(data.msg);
                    $('#login_bt_box').css('display','block');
                    $('#login_indicator').css('display','none');
                }
            },'json');
        });
        
        $('#logout_bt').live('click',function(){
            $.post('function/logout.php',{},function(data){
                location.reload();
            });
        });
    });
</script>